package jk.spider.util.extract;

import jk.spider.core.task.WorkerTask;
import jk.spider.core.task.work.ExtractTask;

public class BaseExtractTask implements ExtractTask {
	protected Extracts extract;

	public BaseExtractTask(Extracts extract) {
		this.extract = extract;
	}

	public int getType() {
		return WorkerTask.WORKERTASK_EXTRACTTASK;
	}

	public void prepare() {

	}

	public void execute() {
		extract.parser();
	}
	
	public String getUrlType() {
		return null;
	}

}
